package com.robot.agent.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * agentContract实体类
 *
 * @author wuyunbin
 */
@Entity
@Table(name = "agent_contract")
public class AgentContract implements Serializable {
    /**
     * 合同Id
     */
    @Id
    private String id;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 合同版本号
     */
    private String contractVersion;
    /**
     * 签订人
     */
    private String signer;
    /**
     * 代理商姓名
     */
    private String realName;
    /**
     * 代理商类型 0-私人 1-公司
     */
    private String agentType;
    /**
     * 公司名称
     */
    private String companyName;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContractVersion() {
        return contractVersion;
    }

    public void setContractVersion(String contractVersion) {
        this.contractVersion = contractVersion;
    }

    public String getSigner() {
        return signer;
    }

    public void setSigner(String signer) {
        this.signer = signer;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAgentType() {
        return agentType;
    }

    public void setAgentType(String agentType) {
        this.agentType = agentType;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String toString() {
        return "AgentContract{" +
                "id='" + id + '\'' +
                ", phone='" + phone + '\'' +
                ", contractVersion='" + contractVersion + '\'' +
                ", signer='" + signer + '\'' +
                ", realName='" + realName + '\'' +
                ", agentType='" + agentType + '\'' +
                ", companyName='" + companyName + '\'' +
                '}';
    }
}
